<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>20001010431 薛一靓</title>
    <link rel="stylesheet" href="./css/pub.css">
    <link rel="stylesheet" href="./font/iconfont.css">
    <style>
       .search{
        display: flex;
        margin-top: 10px;
        width: 100%;

       }
       .search span{
            margin-top: 5px;
            font-size: 20px;
            padding: 0 8px;
            color: #333;
            line-height: 32px;
       }
       .search div{
        width: 22%;
        display: flex;
        background-color: #ddd;
        border-radius: 30px;
        padding-right: 16px;
        line-height: 32px;
       }
        .search div span{
            font-size: 14px;
            margin: 0 8px;
            color: #666;
            line-height: 32px;
        }
        .search div input{
            background-color: #ddd;
            border: none;
            flex-grow: 1;
            outline: none;
            line-height: 32px;
        }
        .search .txt{
            line-height: 32px;
            font-weight: bold;
            font-size: 18px;
            margin: 0 5px;
            color: rgb(41, 24, 236);
        }
       
       #his .ht{
        border-top: 1px solid #ddd;
        display: flex;
        margin-top: 30px;
        width: 100%
        }
        #his .ht p{
            margin: 0 5px;
            font-size: 18px;
            font-weight: bold;
            border-left: 5px solid rgb(50, 21, 213);
            margin-left: 20px;

        }
        
        #his li{
            margin-left: 20px;
            width: 14%;
            height: 20px;
            border-radius: 50px/50px ;
            background-color: rgb(231, 229, 229);
            padding-left: 12px;
            margin-top: 10px;
            overflow: hidden;
            font-size: 15px;
           
            
        }
        
        #his a{
            
            color: #333;
        }
       
        #hot .t{
        border-top: 1px solid #ddd;
        display: flex;
        margin-top: 100px;
        width: 100%
        }
        #hot .t p{
            margin: 0 5px;
            font-size: 18px;
            font-weight: bold;
            border-left: 5px solid rgb(50, 21, 213);
            margin-left: 20px;

        }
        #hot li{
            margin-left: 20px;
            width: 14%;
            height: 20px;
          
            padding-left: 12px;
            margin-top: 10px;
            overflow: hidden;
            font-size: 15px;
           
            
        }
        #tou{
   top: 0;
   left: 0;
   padding-top: 5px;
   position: absolute;
   width: 100%;
   padding-left: 10px;
   display: flex;
   background-color: white;
   display: none;
   padding-bottom: 5px;
   z-index: 900;
}
#tou img{
   width: 50px;
   height: 50px;
   border-radius: 150%;
   float: left;
   margin-right: 30px; 
}
#tou p{
   font-size: 16px;
   padding-top: 12px;
}
      

  
    </style>
</head>
<body>
    <div id="main">
     <div class="search">
        <a href="./home page.html">
            <span class="iconfont icon-fanhui"></span>
        </a>
       
        <div>
            <span class="iconfont icon-fangdajing"></span>
            <input type="text" placeholder="搜索知乎内容">
        </div>
        <span class="txt">搜索</span>
     </div>
    </div>
    <div id="his">
        <div class="ht">
           <p>历史搜索</p>
           
        </div>
        <ul>
            <li><a href="#">好好学习，天天向上呦</a></li>
            <li><a href="#">肯尼亚叫停出口面包树</a></li>
            <li><a href="#">肯尼亚叫停出口面包树 </a></li>
            <li><a href="#">肯尼亚叫停出口面包树</a></li>
          
        </ul>
    </div>
    
    <div id="hot">
        <div class="t">
           <p>猜你想搜</p>
           
        </div>
        <ul>
            <li><a href="#">国考 延期</a></li>
            <li><a href="#">肯尼亚叫停出口面包树</a></li>
            <li><a href="#">肯尼亚叫停出口面包树 </a></li>
            <li><a href="#">肯尼亚叫停出口面包树</a></li>
            <li><a href="#">好好学习，天天向上呦</a></li>
            <li><a href="#">肯尼亚叫停出口面包树</a></li>
            <li><a href="#">肯尼亚叫停出口面包树 </a></li>
            <li><a href="#">肯尼亚叫停出口面包树</a></li>
          
        </ul>
    </div>
</div>

   

<script>
    window.onscroll=function(){
    var st=document.documentElement.scrollTop;
    console.log(st);

    }
</script>
  
  
</body>
</html>


   